package perso.marcr.util;

public enum Unit {	

	/**
	 * octet
	 */
	OCTET (0),	

	/**
	 * kilooctet
	 * symbol: ko
	 * value: 10^3
	 * 
	 */
	KO (1),

	/**
	 * megaoctet
	 * symbol: Mo
	 * value: 10^6 
	 */
	MO(2),

	/**
	 * gigaoctet
	 * symbol: Go
	 * value: 10^9
	 */
	GO(3),

	/**
	 * teraoctet
	 * symbol: To
	 * value: 10^12
	 */
	TO(4),

	/**
	 * petaoctet
	 * symbol: Po
	 * value: 10^15
	 */
	PO(5),

	/**
	 * exaoctet
	 * symbol: Eo
	 * value: 10^18
	 */
	EO(6),

	/**
	 * zettaoctet
	 * symbol: Zo
	 * value: 10^21
	 */
	ZO(7),

	/**
	 * yottaoctet
	 * symbol: Yo
	 * value: 10^24
	 */
	YO(8);

	private int value= 0;

	Unit(int value)
	{
		this.setValue(value);
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}
}
